table! {
    member (id) {
        id -> Unsigned<Integer>,
        mobile -> Nullable<Varchar>,
        email -> Varchar,
        username -> Varchar,
        password -> Varchar,
        avatar -> Nullable<Varchar>,
        created -> Nullable<Timestamp>,
        updated -> Nullable<Timestamp>,
    }
}

table! {
    topic (id) {
        id -> Unsigned<Integer>,
        title -> Nullable<Varchar>,
        cover -> Nullable<Varchar>,
        description -> Nullable<Text>,
        created -> Nullable<Datetime>,
        updated -> Nullable<Datetime>,
    }
}

table! {
    user_extra (id) {
        id -> Unsigned<Integer>,
        uid -> Unsigned<Integer>,
        username -> Nullable<Varchar>,
        avatar -> Nullable<Varchar>,
        gender -> Nullable<Bool>,
        birthday -> Nullable<Datetime>,
        tags -> Nullable<Varchar>,
        created -> Nullable<Datetime>,
        updated -> Nullable<Datetime>,
    }
}

table! {
    user_third_bind (id) {
        id -> Integer,
        uid -> Varchar,
        username -> Nullable<Varchar>,
        avatar -> Nullable<Varchar>,
        third_type -> Tinyint,
        open_id -> Varchar,
        union_id -> Nullable<Varchar>,
        access_token -> Nullable<Varchar>,
        refresh_token -> Nullable<Varchar>,
        access_expired -> Nullable<Datetime>,
        refresh_expired -> Nullable<Datetime>,
        gender -> Nullable<Bool>,
        is_deleted -> Nullable<Bool>,
        created -> Varchar,
        updated -> Nullable<Varchar>,
    }
}

allow_tables_to_appear_in_same_query!(
    member,
    topic,
    user_extra,
    user_third_bind,
);
